package com.csd.dto;
import java.io.Serializable;

/**提供web对外接口的统一响应对象的封装
 * @program: CeSuDi_SSM
 * @author: qinjianbao
 * @create: 2020-12-22 16:45
 * @Version: 1.0
 */
public class JsonBean implements Serializable {
    private Integer  statusCode; //响应码
    private Integer code;
    private String msg;//短消息
    private Object data;//响应携带的对象

    public JsonBean() {
    }

    public JsonBean(Integer statusCode, Integer code, String msg, Object data) {
        this.statusCode = statusCode;
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
